Developer Documentation

QuickTime 4 API Documentation
QuickTime Music Architecture

| Previous | Chapter Contents | Chapter Top | Next |

Tune Status

The tune status structure provides information on the currently playing tune.

struct TuneStatus {
    unsigned long           tune;
    unsigned long           tunePtr;
    TimeValue               time;
    short                   queueCount;
    short                   queueSpots;
    TimeValue               queueTime;
    long                    reserved[3];
};
typedef struct TuneStatus TuneStatus;
tune
The currently playing tune.

tunePtr
Current position within the playing tune.

time
Current tune time.

queueCount
Number of tunes queued up.

queueSpots
Number of tunes that can be added to the queue.

queueTime
Total amount of playing time represented by tunes in the queue. This value can be very inaccurate.

reserved[3]
Reserved. Set to 0.


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |